<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@ taglib prefix="t" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<title>广东财经大学论坛</title>

<head>
	<meta charset="utf-8" />
	<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css2/index.css" />
	<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/slider-photos.css" />
	<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/jquery3.5.1.js"></script>
	<script type="text/jscript">
			var index2 = 0; /*初始化一个变量 指向下彪*/
			//点击点
			$(".tab-btn .btn").click(function() {
				index2 = $(this).index(); //获取点击该元素下彪
				$(this).addClass("active").siblings().removeClass("active");
				$(".item").eq(index2).fadeIn().siblings().fadeOut();
			});
			//点击切换效果
			$(".lr-tab .right").click(function() {
				index2++;
				if(index2 > 4) {
					index2 = 0;
				}
				$(".item").eq(index2).fadeIn().siblings().fadeOut();
				$(".tab-btn .btn").eq(index2).addClass("active").siblings().removeClass("active");

			});
			$(".lr-tab .left").click(function() {
				index2--;
				if(index2 < 0) {
					index2 = 4;
				}
				$(".item").eq(index2).fadeIn().siblings().fadeOut();
				$(".tab-btn .btn").eq(index2).addClass("active").siblings().removeClass("active");

			});
			var time2 = setInterval(function() {
				index2++;
				if(index2 > 4) {
					index2 = 0;
				}
				$(".item").eq(index2).fadeIn().siblings().fadeOut();
				$(".tab-btn .btn").eq(index2).addClass("active").siblings().removeClass("active");

			}, 4000) //定时器 重复
		</script>
	<%--		<script type="text/javascript" src="bootstrap/js/jquery-3.0.0.min.js"></script>--%>
	<%--		<script type="text/javascript" src="bootstrap/js/bootstrap.js"></script>--%>
	<%--        <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/slide.js"></script>--%>

</head>

<body>
<div style="margin:0 auto;width:0px;height:0px;overflow:hidden;"></div>
<nav id="left-nav">
	<div id="logo">
		<img src="${pageContext.request.contextPath}/static/img/logo.jpg" width="160px" height="60" data-bd-imgshare-binded="1">
	</div>

	<div id="user-info">
		<script>
			function submit() {
				document.forms[0].submit()
			}
		</script>
		<div class="not-login">

			<div class="portrait-container">
				<img class="portrait pic" src="${pageContext.request.contextPath}/static/img/icon-weidenglu.png" data-bd-imgshare-binded="1">
			</div>

			<!-- <div class="input-wrapper">
  <input type="checkbox" name="keepalive" data-role="keepalive" id="form-remember-checkbox">
  <label for="form-remember-checkbox">下次自动登录</label>
</div>-->
			<%--                    ${sessionScope.get("sessionUser").username}--%>
			<%--					${cookie.get("username").getValue()}--%>
			<t:choose>
				<t:when test="${sessionScope.get('sessionUser').userID==null}">
					<div class="btn-group">
						<a class="btn" id="btn-login" type="submit" href="${pageContext.request.contextPath}/page/userLogin">登录</a>
						<a class="btn" id="btn-register" href="${pageContext.request.contextPath}/page/userRegister">注册</a>
					</div>

				</t:when>
				<t:otherwise>欢迎您： ${sessionScope.get("sessionUser").username }</t:otherwise>
			</t:choose>

			<!-- <a class="white-link" data-no-pjax="" href="reset-password-req.php">找回密码</a>-->
		</div>
	</div>

	<div id="link-buttons">

		<a href="#" id="tab_home" class=""> <img src="${pageContext.request.contextPath}/static/img/iconfont-home.png"> 首页</a>
		<t:choose>
			<t:when test="${sessionScope.get('sessionUser').userID!=null}">
				<a href="${pageContext.request.contextPath}/user/outLogin" target="_blank" class="cur">
					<img src="${pageContext.request.contextPath}/static/img/icon-shoucangjia.png">
					<font color=""> 退出登录</font>
				</a>

			</t:when>

		</t:choose>
		<a href="${pageContext.request.contextPath}/page/PersonInfo" target="_blank" class="cur">
			<img src="${pageContext.request.contextPath}/static/img/icon-shoucangjia.png">
			<font color=""> 我的信息</font>
		</a>

		<a href="${pageContext.request.contextPath}/page/sendMessage" target="_blank" title="发帖">
			<img src="${pageContext.request.contextPath}/static/img/icon-shoucangjia.png"> 发帖</a>

		<a target="_blank" href="${pageContext.request.contextPath}/message/findMessageByUserID?userID=${sessionScope.get('sessionUser').userID}" title=""><img src="${pageContext.request.contextPath}/static/img/icon-shoucangjia.png">我的帖子</a>

		<a href="#" title="面向学生的网络信息平台"><img src="${pageContext.request.contextPath}/static/img/icon-shoucangjia.png"> 导4</a>

		<a href="#" title="考试考研"><img src="${pageContext.request.contextPath}/static/img/icon-shoucangjia.png"> 导5</a>

		<a href="#" title="外语天地"><img src="${pageContext.request.contextPath}/static/img/icon-shoucangjia.png"> 导6</a>

		<a href="#" title="体育世界"><img src="${pageContext.request.contextPath}/static/img/icon-shoucangjia.png"> 导7</a>

		<a href="#" title="影视动漫"><img src="${pageContext.request.contextPath}/static/img/icon-shoucangjia.png"> 导8</a>

		<a href="#" title="毕业之后 "><img src="${pageContext.request.contextPath}/static/img/icon-shoucangjia.png">导9</a>

	</div>
</nav>

<nav id="top-nav">
	<form method="GET" name="frmKey" action="${pageContext.request.contextPath}/message/findMessageByName">

		<div class="wrapper">
			<div class="inner-wrapper">

				<div class="search-box bdwm-search-box">

<%--					<input type="hidden" name="searchtime" value="0">--%>
<%--					<input type="hidden" name="bbs" value="0">--%>
<%--					<input type="hidden" name="action" size="20" value="search">--%>

					<input class="search-ipt" type="text" name="messageName" placeholder="搜索帖子名称" autocomplete="on">

					<img onclick="javascript:sss();" src="${pageContext.request.contextPath}/static/img/iconfont-sousuo.png" class="search-btn">

					<!--
<img class="search-btn" src="images/home/iconfont-sousuo.png">
<input  type=submit value="搜索" class="button" >-->

					<ul class="search-result box-shadow keywords-result">
					</ul>
					<ul class="search-result box-shadow history-result">
					</ul>
				</div>
				<div class="top-right-links">
					<a href="help.asp">帮助中心</a>
					<a href="elselist.asp?action=today">最新帖子</a>

				</div>
			</div>
		</div>

	</form>
	<script language="javascript">
		function sss() {
			frmKey.submit();
		}
	</script>

</nav>

<div id="page-content">
	<!-- start pre_output -->

	<!-- start main -->

	<div id="page-thread" class="page-thread">
		<!--
<div id="page-post">
-->

		<div class="advt" id="banner_top" data-timeout="184">
			<div id="banner_top_0" style="display: block;margin: 15px 0;">
				<img src="img/top_left.jpg" width="468" height="60">
				<a href="http://www.thubbs.cn/post.asp?id=164760&amp;ck=2&amp;totable=1"><img src="http://www.thubbs.cn/up/201981204433-56.jpg" width="468" height="60"> </a>
			</div>
		</div>

		<div class="hdic">

			<table class="biao">
				<tbody>
				<tr>
					<th colspan="2">本周图文
					</th>
				</tr>


				<t:choose>
					<t:when test="${messageList.size()>0}">
						<tr>
							<td align="left" width="100">
								<div class="bktu">
									<a title="“世界长大了，我他妈也老了”" href="post.asp?bd=32&amp;id=36531&amp;totable=1">
										<img src="http://www.thubbs.cn/up/1-20141021160241-613.jpg"></a>
								</div>
							</td>
							<td align="left" valign="top" class="fz14">
								<a title="“”" href="${pageContext.request.contextPath}/message/findMessageById?messageID=${messageList.get(0).messageID}">
										${messageList.get(0).messageName}
								</a>
								<div class="itjj">
									<font class="ds fz12">内容简介</font>
								</div>
							</td>

						</tr>
					</t:when>
					<t:otherwise>
						<tr>
							<td align="left" valign="top" class="fz14">
								还没相关内容
							</td>
						</tr>
					</t:otherwise>
				</t:choose>
				<t:choose>
					<t:when test="${messageList.size()>1}">

						<tr>
							<td align="left" width="100">
								<div class="bktu">
									<a title="" href="post.asp?bd=41&amp;id=53154&amp;totable=1">
										<img src="http://www.thubbs.cn/up/42164-201633184259-685.jpg"></a>
								</div>
							</td>
							<td align="left" valign="top" class="fz14">
								<a title="“”" href="${pageContext.request.contextPath}/message/findMessageById?messageID=${messageList.get(1).messageID}">
										${messageList.get(1).messageName}
								</a>
								<div class="itjj">
									<font class="ds fz12">内容简介</font>
								</div>
							</td>

						</tr>
					</t:when>
				</t:choose>
				<t:choose>
					<t:when test="${messageList.size()>2}">
						<tr>
							<td align="left" width="100">
								<div class="bktu">
									<a title="施一公∣学生如何提高专业英文阅读能力" href="post.asp?bd=41&amp;id=53156&amp;totable=1">
										<img src="http://www.thubbs.cn/up/42164-201633184940-781.jpg"></a>
								</div>
							</td>
							<td align="left" valign="top" class="fz14">
								<a title="“”" href="${pageContext.request.contextPath}/message/findMessageById?messageID=${messageList.get(2).messageID}">
										${messageList.get(2).messageName}
								</a>
								<div class="itjj">
									<font class="ds fz12">内容简介</font>
								</div>
							</td>

						</tr>
					</t:when>
				</t:choose>
				<t:choose>
					<t:when test="${messageList.size()>3}">
						<tr>
							<td align="left" width="100">
								<div class="bktu">
									<a title="筑梦∣巴厘岛的深山里，有一座竹的天堂" href="post.asp?bd=51&amp;id=53140&amp;totable=1">
										<img src="http://www.thubbs.cn/up/42164-201633183033-796.jpg"></a>
								</div>
							</td>
							<td align="left" valign="top" class="fz14">
								<a title="“”" href="${pageContext.request.contextPath}/message/findMessageById?messageID=${messageList.get(3).messageID}">
										${messageList.get(3).messageName}
								</a>
								<div class="itjj">
									<font class="ds fz12">内容简介</font>
								</div>
							</td>

						</tr>
					</t:when>
				</t:choose>
				<t:choose>
					<t:when test="${messageList.size()>4}">
						<tr>
							<td align="left" width="100">
								<div class="bktu">
									<a title="你不抛弃自己，没有人能抛弃你" href="post.asp?bd=39&amp;id=36528&amp;totable=1">
										<img src="http://www.thubbs.cn/up/1-20141021150404-706.jpg"></a>
								</div>
							</td>
							<td align="left" valign="top" class="fz14">
								<a title="“”" href="${pageContext.request.contextPath}/message/findMessageById?messageID=${messageList.get(4).messageID}">
										${messageList.get(4).messageName}
								</a>
								<div class="itjj">
									<font class="ds fz12">内容简介</font>
								</div>
							</td>

						</tr>
					</t:when>

				</t:choose>



				</tbody>
			</table>
			<div class="hgg"></div>

		</div>
		<div class="hdir">

			<div class="ca1_slide" >
				<div id="slider-wrapper">
					<div id="slider-bg">
						<div class="banner">
							<div class="img-wrap" >
								<ul>
									<li class="item" style="display: block">
										<a href="#"><img src="${pageContext.request.contextPath}/static/img/11.jpg" alt="" class="lunbo"></a>
									</li>
									<li class="item">
										<a href="#"><img src="${pageContext.request.contextPath}/static/img/12.jpg" alt="" class="lunbo"></a>
									</li>
									<li class="item">
										<a href="#"><img src="${pageContext.request.contextPath}/static/img/13.jpg" alt="" class="lunbo"></a>
									</li>
									<li class="item">
										<a href="#"><img src="${pageContext.request.contextPath}/static/img/14.jpg" alt="" class="lunbo"></a>
									</li>
									<li class="item">
										<a href="#"><img src="${pageContext.request.contextPath}/static/img/15.jpg" alt="" class="lunbo"></a>
									</li>
								</ul>
							</div>
							<!--<div class="lr-tab">
                                <div class="left btn"> <img src="img/arrow-prev.png"></div>
                                <div class="right btn"> <img src="img/arrow-next.png"></div>
                            </div>-->
							<div class="tab-btn">
								<ul>
									<li class="btn"></li>
									<li class="btn"></li>
									<li class="btn"></li>
									<li class="btn"></li>
									<li class="btn"></li>
								</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="hgg"></div>

			<table class="biao">
				<tbody>
				<tr>
					<th colspan="2">最新主题</th>

				</tr>

				<t:forEach items="${sessionScope.get('moduleList')}" var="module" varStatus="s" >
					<tr>
						<td align="left" class="linkz">
							<a href="${pageContext.request.contextPath}/message/findMessageByModule?moduleName=${module.moduleName}">
								${module.moduleName}</a>
						</td>
						<td width="100" align="center" class="ds"></td>
					</tr>
				</t:forEach>

<%--				<tr>--%>
<%--					<td align="left" class="linkz">--%>
<%--						<a href="post.asp?id=165549&amp;totable=1">--%>
<%--							主题1</a>--%>
<%--					</td>--%>
<%--					<td width="100" align="center" class="ds">1</td>--%>
<%--				</tr>--%>

<%--				<tr class="se5">--%>
<%--					<td align="left" class="linkz">--%>
<%--						<a href="post.asp?id=165559&amp;totable=1">--%>
<%--							主题2</a>--%>
<%--					</td>--%>
<%--					<td width="100" align="center" class="ds">2</td>--%>
<%--				</tr>--%>

<%--				<tr>--%>
<%--					<td align="left" class="linkz">--%>
<%--						<a href="post.asp?id=165550&amp;totable=1">--%>
<%--							主题3</a>--%>
<%--					</td>--%>
<%--					<td width="100" align="center" class="ds">3</td>--%>
<%--				</tr>--%>

<%--				<tr class="se5">--%>
<%--					<td align="left" class="linkz">--%>
<%--						<a href="post.asp?id=165558&amp;totable=1">--%>
<%--							主题4</a>--%>
<%--					</td>--%>
<%--					<td width="100" align="center" class="ds">4</td>--%>
<%--				</tr>--%>

<%--				<tr>--%>
<%--					<td align="left" class="linkz">--%>
<%--						<a href="post.asp?id=165557&amp;totable=1">--%>
<%--							主题5 </a>--%>
<%--					</td>--%>
<%--					<td width="100" align="center" class="ds">5</td>--%>
<%--				</tr>--%>

<%--				<tr class="se5">--%>
<%--					<td align="left" class="linkz">--%>
<%--						<a href="post.asp?id=165556&amp;totable=1">--%>
<%--							主题6</a>--%>
<%--					</td>--%>
<%--					<td width="100" align="center" class="ds">6</td>--%>
<%--				</tr>--%>

<%--				<tr>--%>
<%--					<td align="left" class="linkz">--%>
<%--						<a href="post.asp?id=165546&amp;totable=1">--%>
<%--							主题7</a>--%>
<%--					</td>--%>
<%--					<td width="100" align="center" class="ds">7</td>--%>
<%--				</tr>--%>

<%--				<tr class="se5">--%>
<%--					<td align="left" class="linkz">--%>
<%--						<a href="post.asp?id=165544&amp;totable=1">--%>
<%--							主题8</a>--%>
<%--					</td>--%>
<%--					<td width="100" align="center" class="ds">8</td>--%>
<%--				</tr>--%>

<%--				<tr>--%>
<%--					<td align="left" class="linkz">--%>
<%--						<a href="post.asp?id=165555&amp;totable=1">--%>
<%--							主题9</a>--%>
<%--					</td>--%>
<%--					<td width="100" align="center" class="ds">9</td>--%>
<%--				</tr>--%>

<%--				<tr class="se5">--%>
<%--					<td align="left" class="linkz">--%>
<%--						<a href="post.asp?id=165540&amp;totable=1">--%>
<%--							主题10</a>--%>
<%--					</td>--%>
<%--					<td width="100" align="center" class="ds">10</td>--%>
<%--				</tr>--%>

<%--				</tbody>--%>
			</table>

			&nbsp;
			<table class="biao">
				<tbody>
				<tr>
					<th colspan="3">社区栏目</th>
				</tr>
				<tr>
					<td colspan="3">
					</td>
				</tr>
				<tr>
					<td>
						<a href="elselist.asp?action=today">最新主题</a>
					</td>
					<td>
						<a href="elselist.asp?action=mytop">我的帖子</a>
					</td>
					<td>
						<a href="elselist.asp?action=withmetop">我的回帖</a>
					</td>
				</tr>
				<tr>
					<td>
						<a href="search.asp">帖子查询</a>
					</td>

					<td>
						<a href="bbsshow.asp">论坛图集</a>
					</td>
					<td>
						<a href="#">校园地图</a>
					</td>
				</tr>
				<tr>

				</tr>
				</tbody>
			</table>

		</div>

		<div class="hdic">

		</div>
		<div class="hdir">

			<div class="hgg"></div>

			<div class="hgg"></div>

		</div>

		<div class="hgg"></div>

		<div class="hgg"></div>

		<table class="biao">
		</table>

	</div>

	<!-- end main -->
	<!-- content end-->
</div>
<div class="hgg"></div>
<footer id="footer">
	<p>

		<a href="help.asp" target="_blank">论坛帮助</a> -
		<a href="links.asp" target="_blank">友情链接</a> -
		<a href="pass.asp" target="_blank">会员认证</a> -
		<a href="help.asp?action=jbts" target="_blank">删帖申请</a> -
		<a href="help.asp?action=qq" target="_blank">联系我们</a>

	</p>
	<p>©
		<a target="_blank" href="index.jsp">www.thubbs.cn</a>&nbsp;&nbsp;Processed in 0.18</p>
</footer>
</body>

</html>